import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
import svgr from 'vite-plugin-svgr'
// https://vitejs.dev/config/
export default defineConfig({
	plugins: [
		react(),
		svgr({
			exportAsDefault: true
		})
	],
	base: './',
	resolve: {
		alias: [
			{
				find: '@',
				replacement: path.resolve(__dirname, 'src')
			}
		]
	}
})
